package com.lesso.zgs.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.zgs.sunflower.model.EmployeeAttendanceRule;
import com.lesso.zgs.sunflower.pojo.dto.EmployeeAttendanceRuleQueryDTO;
import com.lesso.zgs.sunflower.pojo.vo.EmployeeAttendanceRuleVO;

import java.util.List;

/**
 * EmployeeAttendanceRuleRepository
 *
 * @author zgs
 * @since 2025-07-03
 */
public interface EmployeeAttendanceRuleRepository {

    Integer save(EmployeeAttendanceRule employeeAttendanceRule);

    Integer delete(Long id);

    Page<EmployeeAttendanceRuleVO> getPageList(EmployeeAttendanceRuleQueryDTO dto);

    List<EmployeeAttendanceRuleVO> getByEmployeeId(Long employeeId);
} 